#ifndef _BUOLA_SCENE_CONTROLLERS_CPHYSICSCONTROLLER_H_
#define _BUOLA_SCENE_CONTROLLERS_CPHYSICSCONTROLLER_H_

#include <buola/scene/ccontroller.h>
#include <buola/app/ctimer.h>

namespace buola { namespace scene {

class CPhysicsController : public CController
{
public:
    CPhysicsController(PScene pScene);

private:
    virtual void OnButtonDown(const gui::CMouseEvent &pE);
    virtual void OnButtonUp(const gui::CMouseEvent &pE);
    void OnTimer();
    
private:
    CTimer mTimer;
    PScene mScene;
    gui::CWindow *mTarget;    
};

/*namespace scene*/ } /*namespace buola*/ }

#endif
